const db = uniCloud.database()
const dbCmd = db.command
exports.main = async (event, context) => {
	let { userName } = event
	return await db.collection('user').where({
    userName
  }).get()
};
